package com.hsteach.web.controller.rota.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "值班记录List")
@Data
public class ListRotaRecordDto implements Serializable {

    /** 值班表id */
    @ApiModelProperty(value = "值班表id" )
    private Long rotaId;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期 yyyy-MM-dd" )
    private Date beginDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期 yyyy-MM-dd" )
    private Date endDate;

}
